<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>修改</title>

<script src="js/jquery-3.3.1.min.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			a{
				text-decoration: none;
				color: #000;
			}
			#menu{
				position: relative;
				top: 0px;
				width: 876px;
				height: 34px;
				line-height: 34px;
				margin: auto;
			}
			#menu li{
				float: left;
				display: block;
				width: 92px;
				height: 37px;
				line-height: 37px;
				text-align: center;
				margin-right: 2px;
			}
			#menu li a:link{
				display: block;
				background-color: #edebec;
				font-size: 14px;
				color: #333;
				width: 92px;
				height: 37px;
				line-height: 37px;
			}
			#menu li a:hover{
				background-color: red;
				color: white;
			}
			#menu li ul{
				position: absolute;
				top: 37px;
				width: 90px;
				display: none;
				border: 1px solid #ce070e;
				border-top: none;
				background: #fff;
			}
			#menu li ul li{
				float: left;
				width: 90px;
				height: 37px;
				line-height: 37px;
			}
			#menu li ul li a:link{
				width: 90px;
				height: 37px;
				line-height: 37px;
			}
			#menu li ul li:hover{
				color: white;
				text-decoration: none;
			}
		</style>
		
<script type="text/javascript">
			$(function(){
				$("#menu>li:has(ul)").hover(
					function(){
						$(this).find('ul').slideDown(500);
					},
					function(){
						$(this).find('ul').slideUp(500);
					}
				);
			});
		</script>

</head>
<body>

	<br>
	<center>
		<h2>商品信息输入</h2>
		<hr>
		<form action="UserServlet" method="post" id="form">
			<input type="hidden" name="methodName" value="3" />
			<h4>
				商品编号：<input type="text" name="goodsid"></input><br>
			</h4>
			<h4>
				商品名稱：<input type="text" name="goodsname" ></input><br>
			</h4>
			<h4>
				商品價格：<input type="text" name="goodsprice" ></input><br>
			</h4>
			<h4>
				生產日期：<input type="text" name="thedate" ></input><br>
			</h4>
			<h4>
				保質期：<input type="text" name="shelflife" ></input><br>
			</h4>
			
			<input type="submit" value="提交" />                 
			<input type="reset" value="重置"/>
		</form>
		<br> 
		<h3  align="center"><a href="UserServlet?methodName=<%=1%>&id=<%=""%>&name=<%=""%>">返回信息页面</a></h3> 
	</center>

</body>
</html>